<?php

include dirname(__FILE__) . '/../../class/_core.php';
include dirname(__FILE__) . '/../../class/Material.php';

$list = Material::getMaterialsList(0, 0);

$Smarty->assign('material', $list);
$Smarty->display('public/material_list.tpl');